// 在 babel.config.js 中配置
module.exports = {
    plugins: [
        ['import', {
            libraryName: 'vant',
            libraryDirectory: 'es',
            style: (name) => `${name}/style/less`,
        }, 'vant']
    ]
}